package com.ruoyi.pump.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.pump.mapper.Dc3PointMapper;
import com.ruoyi.pump.domain.Dc3Point;
import com.ruoyi.pump.service.IDc3PointService;

/**
 * dc3节点信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-09-18
 */
@Service
public class Dc3PointServiceImpl implements IDc3PointService 
{
    @Autowired
    private Dc3PointMapper dc3PointMapper;

    /**
     * 查询dc3节点信息
     * 
     * @param id dc3节点信息主键
     * @return dc3节点信息
     */
    @Override
    public Dc3Point selectDc3PointById(Long id)
    {
        return dc3PointMapper.selectDc3PointById(id);
    }

    /**
     * 查询dc3节点信息列表
     * 
     * @param dc3Point dc3节点信息
     * @return dc3节点信息
     */
    @Override
    public List<Dc3Point> selectDc3PointList(Dc3Point dc3Point)
    {
        return dc3PointMapper.selectDc3PointList(dc3Point);
    }

    /**
     * 新增dc3节点信息
     * 
     * @param dc3Point dc3节点信息
     * @return 结果
     */
    @Override
    public int insertDc3Point(Dc3Point dc3Point)
    {
        return dc3PointMapper.insertDc3Point(dc3Point);
    }

    /**
     * 修改dc3节点信息
     * 
     * @param dc3Point dc3节点信息
     * @return 结果
     */
    @Override
    public int updateDc3Point(Dc3Point dc3Point)
    {
        return dc3PointMapper.updateDc3Point(dc3Point);
    }

    /**
     * 批量删除dc3节点信息
     * 
     * @param ids 需要删除的dc3节点信息主键
     * @return 结果
     */
    @Override
    public int deleteDc3PointByIds(Long[] ids)
    {
        return dc3PointMapper.deleteDc3PointByIds(ids);
    }

    /**
     * 删除dc3节点信息信息
     * 
     * @param id dc3节点信息主键
     * @return 结果
     */
    @Override
    public int deleteDc3PointById(Long id)
    {
        return dc3PointMapper.deleteDc3PointById(id);
    }
}
